//
//  CDVMBAlertView.h
//  testBluetooth
//
//  Created by LuoYue on 17/1/11.
//
//

#ifndef CDVMBAlertView_h
#define CDVMBAlertView_h
#import <UIKit/UIKit.h>

@interface CDVMBAlertView : UIView

- (id)initWithTitle:(NSString *)title
        contentText:(NSString *)content
    leftButtonTitle:(NSString *)leftTitle
   rightButtonTitle:(NSString *)rigthTitle;

- (void)show;

@property (nonatomic, copy) dispatch_block_t leftBlock;
@property (nonatomic, copy) dispatch_block_t rightBlock;
@property (nonatomic, copy) dispatch_block_t dismissBlock;

@end

@interface UIImage (colorful)

+ (UIImage *)imageWithColor:(UIColor *)color;

@end

#endif /* CDVMBAlertView_h */
